{% extends "base.html" %}
{% load static %}
{% block module %}
<link rel="stylesheet" type="text/css" href="{% static '/css/index.css' %}">
<script src="{% static '/js/index.js' %}"></script>
{% endblock %}
{% block body %}
<div class="bg">
    <div class="top">
        <strong>自动化测试平台</strong>
        <span class="logout">退出</span>
    </div>
    <div class="center">
        <div class="left">
            <div class="userinfo">
                <img src='{% static "/img/person.webp" %}'>
                <h1></h1>
            </div>
            <button type="button" class="createProject">创建项目</button>

            <ul class="list-unstyled">
                <li class="selectnav" rf="{% url 'index:statistics' %}">首页</li>
                <li class="">辅助工具</li>
                <ul class="script">
                    <li class="" rf="">&nbsp;&nbsp;&nbsp;&nbsp;镔钢销售</li>
                    <li class="" rf="{% url 'tms_flow:tms_flow' %}">&nbsp;&nbsp;&nbsp;&nbsp;TMS</li>
                    <li class="" rf="">&nbsp;&nbsp;&nbsp;&nbsp;仓储</li>
                </ul>
            </ul>


        </div>
        <div class="right">
            <div class="header">
                <span></span>
            </div>
            <div class="con">
                <iframe class="custom-scrollbar-iframe"></iframe>
            </div>
        </div>
    </div>
    <div class="set_cargo_masking">
        <div class="cargo_masking_content">
            {% block pop_up %}
            {% endblock %}
        </div>
    </div>
</div>
<script>
    $(function () {
        console.log("sss =" + get_beind_data().msg);
        if (get_beind_data().msg == "登录成功") {
            success("登录成功");
        }

        $(".top .logout").mouseenter(function () {
            $(this).css("color", "#DB6574");
        }).mouseleave(function () {
            $(this).css("color", "#8a8d93");
        }).click(function () {
            alert("功能待实现");

        })
    })
</script>
{% endblock %}